package homework01;
import java.util.*;
public class SevenTo01 {
	public static void main(String[] args) {
		int a,b;
		Scanner input = new Scanner(System.in);
		while(true){
			
			 a = input.nextInt();
			 b = input.nextInt();
			if(a>1000||-a>1000) 
				{System.out.println("a<=1000");
				 return;}
			System.out.println((a+b));
			}

	}

}
